package com.carb.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
@Schema(description = "新增公告传递的数据模型")
public class AnnouncementAddDTO implements Serializable {

    @Schema(description = "标题",
            requiredMode = Schema.RequiredMode.REQUIRED)
    private String title;

    @Schema(description = "内容",
            requiredMode = Schema.RequiredMode.REQUIRED)
    private String content;

}
